import unittest
from utils.tools import add
from parameterized import parameterized

class TestAssert(unittest.TestCase):
    def test_add1(self):
        print("测试方法1")
        # 断言方法是来自于继承的测试类
        self.assertEqual(add(1, 2), 3)
    def test_add2(self):
        print("测试方法2")
        self.assertEqual(add(1, 3), 4)
    def test_add3(self):
        print("测试方法3")
        self.assertEqual(add(1, 4), 5)

if __name__ == '__main__':
    unittest.main()
